package com.ruoyi.project.datacollection.datasource.mapper;

import com.ruoyi.project.datacollection.datasource.domain.Datasource;
import org.apache.ibatis.annotations.Mapper;

/**
* @author lenovo
* @description 针对表【qrtz_datasource(数据源管理模块)】的数据库操作Mapper
* @createDate 2022-07-28 10:49:12
* @Entity com.ruoyi.project.datacollection.datasource.domain.Datasource
*/
@Mapper
public interface DatasourceMapper {

    /**
     * 插入一条数据
     * @param datasource
     * @return
     */
    int insertAll( Datasource datasource);

    /**
     * 根据id查询一条数据
     * @param sourceId
     * @return
     */
    Datasource selectOneBySourceId(Integer sourceId);


    int deleteBySourceId(Integer sourceId);

}




